home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_08
/
8n08122a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-07-17
|
369 b
|
25 lines
#include <stdio.h>
#include <ctype.h>
#include <math.h>
void main()
{
float f;
int index, n = 75;
f = 10000.0 / 3.0;
for(index = 1; index < n; index++)
{
f = f / 10.0;
printf(" %d %e\n", index, f);
}
}
LISTING 1